phrase = "Don't panic!"
plist = list(phrase)
print(phrase)
print(plist)
for i in range(4):
    plist.pop()
    print(plist)
plist.pop(0)
plist.remove("'")
print(plist)
plist.extend([plist.pop(), plist.pop()])
print(plist)
plist.insert(2, plist.pop(3))
print(plist)

new_phrase = ''.join(plist)
print(list)
print(new_phrase)

vowels = ['a', 'e', 'i', 'o', 'u']
words = "milliways"
found = []
for letter in words:
    if letter in vowels:
        if letter not in found:
            found.append(letter)
for vowel in found:
    print(vowel)
found.clear()

word = input("provide a word to search for vowels:")
found = []
for letter in word:
    if letter in vowels:
        if letter not in found:
            found.append(letter)

for vowel in found:
    print(vowel)

